<style>
#pagintion_previous {
	margin: 2px;
	text-decoration: none; 
	color:#666; 
	font-weight:bold; 
	letter-spacing:2px; 
	padding:7px 7px;
	padding-left:15px;
	border:#E0E0E0 solid 1px;
	border-style:none;
	border-left-style:solid;
}
#pagintion_previous label {
	cursor:pointer;
}
#pagintion_previous:hover {
	color:red;
}
#pagintion_next {
	margin: 2px; 
	text-decoration: none; 
	color:#666; 
	font-weight:bold; 
	letter-spacing:2px; 
	padding:7px 7px;
	padding-right:15px;
	border:#E0E0E0 solid 1px;
	border-style:none;
	border-right-style:solid;
}
#pagintion_next label {
	cursor:pointer;
}
#pagintion_next:hover {
	color:red;
}
#pagintion_count_1 {
	border:#CCCCCC solid 1px;
	text-decoration:none; 
	padding:4px 8px; 
	margin:2px; 
	background-color:#fff; 
	font-weight:bold;
	color:#999999;
}
#pagintion_count_1:hover {
	color:#777;
	border:#777 solid 1px;
}
#pagintion_count_2 {
	border:#ccc solid 1px;
	padding:4px 8px; 
	margin:2px; 
	background-color:#F4F4F4; 
	font-weight:bold;
	color:black;
	padding:7px 11px;
}
</style>
<?
	echo "<a href='$_SERVER[SCRIPT_NAME]?Page=$Prev_Page' id='pagintion_previous'>";
		echo "<label>Previous</label>";
	echo "</a>";
	
	for($i=1; $i<=$Num_Pages; $i++) {
	
		if($i != $Page) {
			echo "<a href='$_SERVER[SCRIPT_NAME]?Page=$i' id='pagintion_count_1'>$i</a>";
		} else {
			echo "<label id='pagintion_count_2'>$i</label>";
		}
	} // end for
	
	if($Page!=$Num_Pages) {
	
		echo "<a href='$_SERVER[SCRIPT_NAME]?Page=$Next_Page' id='pagintion_next'>";
			echo "<label>Next</label>";
		echo "</a>";
	
	} else {
		
		echo "<a href='$_SERVER[SCRIPT_NAME]?Page=$Num_Pages' id='pagintion_next'>";
			echo "<label>Next</label>";
		echo "</a>";
	
	}	
?>